﻿using S.Authorization.Domain.Model.Authority;
using S.Authorization.Domain.Model.Organization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Authorization.Infrastructure.Interface.Organization
{
    /// <summary>
    /// 栏位表
    /// </summary>
    public interface IFieldModelRepository : IBaseRepository<FieldModel>
    {
        /// <summary>
        /// 设置用户的角色权限
        /// </summary>
        /// <param name="models">添加的数据</param>
        /// <returns>返回受影响的行数</returns>
        Task<int> AddRangeFieldModelAsync(List<FieldModel> models);
    }
}
